i = str(input('请输入:'))
print(i.swapcase())